package com.example.check_oa.model.service;

import com.example.comment_oa.pojos.attendance.Attendance;
import com.example.comment_oa.pojos.attendance.ReplacementCardAp;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
* @author cjl
* @description 针对表【replacement_card_ap】的数据库操作Service
* @createDate 2022-11-09 21:46:25
*/
public interface ReplacementCardApService extends IService<ReplacementCardAp> {
    //新增补卡申请记录
    int add(ReplacementCardAp replacementCardAp, MultipartFile file);

    //根据工号查找近三天缺卡and旷工记录
    List<Attendance> selectNo(String userNo);

    //本月补卡信息
    List<ReplacementCardAp> quer(String userNo,String date);

    //同意补卡
    int yesRc(String time,String userRc,String rcId,String yesUser);
    //拒绝补卡
    int noRc(String rcId,String yesUser);
}
